package com.maiji.cloud.entities.login;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Field;

/**
 * 签到配置表
 * Description:  
 * @author zhanglr  
 * @date 2019年7月2日
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "sign_in_deploy")
@TableName("sign_in_deploy")
public class SignInDeployEntity {

	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId;
	
	@Column(name = "day", type = MySqlTypeConstant.INT, length = 50)
	private Integer day; //;连续签到天数
	
	@Column(name = "integral", type = MySqlTypeConstant.INT, length = 11)
	private Integer integral;  //签到获得时间
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
    private Date inTime;  //签到时间

    @TableField(exist = false)
    public static final String TABLE_NAME = "task_log";

    @TableField(exist = false)
    private String operationDesc; // 操作说明

    @TableField(exist = false)
    private String operatorId; // 操作者ID

    @TableField(exist = false)
    private String operatorName; // 操作者账号
	
}
